This lets you view the current encoding of a file and choose the encoding to be used for the current document the next time it is being saved to a file.
If you select a different encoding than the one in use before, the encoding-specification in the XML-declaration at the beginning of the file will automatically be adjusted accordingly. For 16-bit and 32-bit per character encodings (UTF-16, UCS-2, and UCS-4) you can also specify the byte-order to be used for the file.
Alternatively you can also simply enter the desired new encoding into the encoding-specification of the XML-declaration. When saving a document, XML Spy automatically checks the encoding-specification and brings up a dialog, if it cannot recognize the desired encoding name entered by the user.
If your document contains any characters that cannot be represented in the selected encoding, you will get a warning message as soon as you save your file.
|
|